To treat or not to treat: the evolution of wastewater treatment management approaches