clean up environment config