Controlling pollution in mountain waterways