We'll have the news, sport, travel and weather updates throughout the day.
For the latest information on the downpours across Scotland click here.
Fire crews had to pump water from some properties and a house in Mayfield in Midlothian was struck by lightning.
The Leadburn Inn posted this video of flooding outside Penicuik High School on Facebook.
BBC Sport Scotland
The midfielder, who spent three years at Tannadice, left United by mutual agreement.
"I would like to thank the supporters and everybody at Tannadice for my time at the club," Paton said.
"There will always be a tangerine spot in my heart and I wish Dundee United every success in returning to the Scottish Premiership next season."
The change comes after medics argued that political targets can distort priorities.
That is despite reductions in the amount of time many people have to wait for treatment.
There are about 20 targets that the NHS aims to meet.
The Scottish government said an expert group would examine the current system and make recommendations by the end of next April.
Guards working for ScotRail have voted in favour of strike action in a dispute over driver-only trains.
Scottish Conservative transport spokesman Alex Johnstone said commuters rely on a decent rail service to get to and from work and, at this time of year, tourists use trains to get around Scotland.
Instead of attempting to unmask upheaval, the union should instead be getting round the table to find a practical solution. That solution is certainly not strike action at this time of year. The RMT’s willingness to resort to strike action will only undermine any sympathy commuters may have had for their case
Firefighters have pumped water out of several properties and the local council said work was ongoing to clear water at Mauricewood Primary in the town.
Have you been affected? Send us your pictures email@example.com
Firefighters were called to a property at Beveridge Avenue in Mayfield on Tuesday afternoon after it was hit by lightning.
No-one was injured but the Scottish Fire and Rescue Service said five appliances were sent to the scene to deal with roof damage.
In Penicuik, flash flooding led to firefighters having to pump water out of several properties.
Schools and a leisure centre were also affected.
BBC Radio Scotland
Tune in here from 16:00.
Director Theresa Fyffe was responding to new official figures which indicated the number of staff working in NHS Scotland has reached a record high.
She said the vacancy rate for nursing and midwifery staff also went up over the same period.
This clearly shows that health boards continue to struggle to fill permanent nursing posts and are having to resort to expensive agency nurses to fill the gaps. This is not sustainable. While some investment in agency nursing will always be needed to cover unexpected events such as sickness absence and make sure there are enough nurses to provide safe care for patients, health boards cannot continue to ratchet up spending on agency nurses, which increased by £7.5m in the last year.
Hail showers and thundery downpours are affecting many parts of the country, with forecasters warning of the risk of flooding.
A yellow "be aware" alert covering a band up the middle of the country from the Borders to the Highlands has been issued by the Met Office.
Penicuik was among the places to be battered by hail as colder air displaced earlier high temperatures.
The warning is valid until 21:00.
The alarm was raised after Hanna Sabic, who is 21, failed to arrive at work in Edinburgh on Monday or return home to her son that evening.
However, police in Falkirk said she had been traced in Edinburgh on Tuesday.
BBC Sport Scotland
The teenager from Shetland became the youngest ever Commonwealth Games medallist by finishing third in the SB9 100m breaststroke aged 13 in 2014.
However, she was told in April that her impairment was not serious enough for her to compete.
She will be examined in Berlin to see if the decision can be overturned.
Davies has Perthes disease, a condition that affects her hip bones and joints.
Scotland business & economy editor
Delta is to fly the route from May next year, daily and through the summer months.
It already links Edinburgh Airport with the New York aviation hub.
Darren Adie, 42, died in hospital after he was found unconscious in Tweed Avenue in the town last month.
Police believe seven people saw or spoke to him before his death and they have released descriptions of them.
Det Ch Insp Raymond Brown said information they may consider "insignificant" could prove "vital" in identifying his killed.
Figures from the force showed that there were 127 applications from black, Asian and ethnic minority candidates in 2015 -16. That was just 2.6% of the total number applying.
In order to reflect the 4% figure across Scottish society, the force said it would need to recruit an additional 650 ethnic minority candidates.
It is understood the new headscarf will be presented to a police working group for consideration as part of the uniform.
However the force warned there was no "quick fix" to recruiting more ethnic minority officers.
The total exceeds the Scottish government's aim of 25,500, but for 2016-17 it will rise to 26,000, with ministers committed to recruiting 30,000 apprenticeships a year by 2020.
Employability Minister Jamie Hepburn said it was "fantastic news" that 25,818 people started a modern apprenticeship during 2015-16.
The figures, released by training body Skills Development Scotland, showed there was still a gender gap in some areas.
The number of females on apprenticeships increased by one percentage point in 2015-16, with women taking up 41% of the training places.
Sightings of the apparition, said to be a woman dressed in all-black period clothing, have been reported four times in as many weeks at Silverburn shopping centre in Glasgow.
Managers have now called in experts from Glasgow Paranormal Investigations to help establish the cause of the sightings.
A Silverburn spokesman said: "We are aware that a shadowy woman has been spotted around the centre and we are taking the sightings extremely seriously."
The shopping centre opened in 2007 and was built on the former Pollok shopping centre site.
Scotland business & economy editor
The asset fund linked to the Rothschild banking dynasty has announced it will not make a formal bid, after confirming reports last week that it was in the early stages of informal talks about merger.
Dundee-based Alliance Trust, investing nearly £3bn of shareholder assets, will continue to face a fundamental review of what it does, which could still lead to a sale.
A ScotRail spokesman said: "Nearly half of our total number of conductors voted against strike action or abstained.
“This is now a clear signal for the RMT that our people in Scotland want to decide their own way forward.
"We have already guaranteed job security, pay and the futures of our conductors."
The RMT announced earlier that 75% of those who took part in a ballot had guards had voted in favour of going on strike a dispute over driver-only trains.
The ScotRail spokesman added: “The RMT must now allow their local representatives in Scotland to consider ScotRail’s ideas that will make these guarantees possible.”
They said it would reduce traffic "chaos" on some streets and encourage more people to use buses, trams or bicycles to get into the city.
However, councillors heard warnings that the restrictions could affect footfall in the city centre and faith groups which meet on Sundays.
Parking controls will be implemented between 12:30 and 18:00 in zones 1-4.
In the first three months of this year, about eight out of ten children and young people were seen within 18 weeks, compared to only seven out of ten before Christmas.
The Scottish government has set a target that nine in ten children should be treated in that time frame.
The Scottish Children's Services Coalition has called for greater investment, pointing out that the target was set more than a year ago.
The performance of the NHS was similar for adult services.
Giving evidence to the Commons Defence Select committee on the procurement of the Type 26 programme, John Hudson, managing Director of BAE systems, said he anticipated there would be an order for eight of the ships, and they would be built on the Clyde, with the initial order for three vessels.
Mr Hudson said his company was in negotiations with the Ministry of Defence, but he was unwilling to say when he thought construction work on the ships would begin.
The RMT said 75% of those who took part in the ballot on industrial action were in favour of striking with an "even bigger majority" for action short of a strike.
The turn-out was 75%.
The union's General Secretary Mick Cash said the extension of driver only operation and driver controlled operation was a "clear attack" on members' "hard earned terms and conditions".
RMT members should not have to face the risk of their role and responsibilities being reduced and undermined. The workforce also know only too well that there is a very real threat to passengers of watering down and wiping out the safety critical role of the guard on these ScotRail services.The union remains available for further talks.
A Registers of Scotland 10-year property market report showed the total value of residential sales between 2006 and 2016 was £148.2bn.
The research details trends in the land and property market over the decade's peak years and in the wake of the economic downturn.
The report also found an increase in average house prices of 19.7% from £139,207 to £166,624.
The union is opposed to plans to increase the number of driver-only services, arguing that guards should be in control of operating doors.
The ballot was announced in April after talks between ScotRail and the RMT failed to resolve the dispute.
More than 3,500 homes will be powered by the 55,000 solar panel facility.
The 13MW scheme went live in May.
Energy minister Paul Wheelhouse formally launched the scheme at the Errol Estate, Perthshire.
This very substantial and impressive project is proof that large scale solar photovoltaic systems work well on the east coast of Scotland and I am also greatly encouraged that a variety of organisations are continuing to source solar sites across the country, with a view to developing financially viable schemes.
A former head of the Navy has launched a scathing attack on UK government ministers for delays in the procurement of the next generation of warships due to be built on the Clyde.
Admiral Lord West, the former First Sea Lord, made his comments in evidence to the Commons Defence Committee.
He said the UK government should "come clean" and acknowledge that there was not enough money in the current defence budget to begin the work.
What we seem to keep doing is delaying the order, then delaying the order, and not only is that a problem for our defence capability and the security of our nation and our people, it is a problem for our ship building and our defence industries.
New figures suggest that the NHS workforce has increased by 9% in the past decade.
There are now more than 160,000 people employed by the NHS.
The figures exclude GPs' and dentists.
The NHS in the UK as a whole is the fifth largest employer in the world, behind McDonalds, Walmart, The People's Liberation Army of China, and the US Defence department.
A total of 95.1% of all patients were seen and either admitted, transferred or discharged within four hours, hitting the Scottish government's interim target of 95%.
A&E performance against the target was up from 93.1% the previous month and 92.8% in the same month last year.
Official statistics show 568 patients (0.5%) waited for longer than eight hours while 158 (0.1%) spent more than 12 hours in an A&E department.