The main rail line between Edinburgh and Glasgow has reopened following a landslip.
The route was closed at Winchburgh on Wednesday afternoon after mud and rocks fell on to the tracks amid heavy rain.
ScotRail praised the work of engineers who have now cleared the area.
A ScotRail spokesman said: "Following the landslip at Winchburgh, the line between Linlithgow and Edinburgh Park was closed in the interests of customer and staff safety.
"Thanks to the dedication and expertise of our engineers on the ground, who have been working tirelessly, we have now managed to safely reopen the line between Linlithgow and Edinburgh Park.
"Services will now start to run in both directions between Edinburgh and Glasgow via Falkirk High, and between Edinburgh and Dunblane.
"We are grateful to our customers for their patience as we worked to safely reopen the line."
Bad weather on Wednesday also brought flooding to some lines and there was another minor landslip at Kirkconnel in Dumfries and Galloway, leading to disruption to services between Glasgow and Carlisle.