Minimising pharmaceuticals in the environment