Modernization of waste processing plants