These improvements were achieved as a result of an active wastewater management, including separate treatment of wastewaters containing API and reduction of poorly degradable organic carbon (TOCref) sent to the wastewater treatment plant.