The Met Office has issued two weather warnings for rain for parts of Scotland.
Forecasters have predicted heavy and persistent rain in parts of Dumfries and Galloway, the Scottish Borders, Ayrshire and South Lanarkshire.
The yellow weather warnings predict that between 25mm and 50mm of water will fall at lower levels, and up to 90mm over high ground, which may cause localised flooding.
The warning will come into effect from midnight on Wednesday until 6am on Thursday.
The Met Office said: “There is a small chance that homes and businesses could be flooded, causing damage to some buildings.
“There is a small chance of fast flowing or deep floodwater causing danger to life and there might be some interruption to power supplies.
“Where flooding occurs, there is a slight chance of delays or cancellations to train and bus services and spray could lead to difficult driving conditions and some road closures.
“There is a small chance that some communities will become cut off by flooded roads.”
Yellow weather warnings have also been issued for Thursday and Friday when the storm is predicted to move into northern England and Wales.
Here the rainfall might be heavier with up to 60mm on lower ground and 160mm at higher elevations.
Into Saturday it will remain unsettled with spells of rain and showers, which will be heaviest and most persistent across the west.
Follow STV News on WhatsApp
Scan the QR code on your mobile device for all the latest news from around the country