Text this: Optimizing the performance of a paper mill effluent treatment