People living near a Renfrewshire dam were warned of the risk of flooding as downpours sparked fears that a reservoir dam was in danger of bursting.
Around 20 households by the Maich Fishery near Lochwinnoch were contacted by the police and warned they may have to be evacuated.
The fire service and contractors have been forced to pump out more than half the water in the reservoir to try and reduce the risk. Police said once water levels at the dam had been reduced it was expected to be demolished.
Rain across Edinburgh also caused major problems for commuters, with lane closures on the A720 city bypass and train services affect as tracks near Waverley station flooded.