It happened in Kennoway on Thursday.
New powers for Scotland's headteachers
Headteachers are to be given a raft of new powers as part of wide-reaching reforms to Scotland's school system, Education Secretary John Swinney has announced.
They will become responsible for raising attainment and closing the gap between the poorest and richest pupils.
Headteachers will also have the power to choose staff and management structures, decide on the curriculum - within a broad national framework - and directly control "significantly'' more funding.
The reforms, which follow a review of school governance, were unveiled at Holyrood on Thursday.
Mr Swinney told MSPs the changes would "put the power to directly change lives into the hands of those with the expertise and insight to target resources at the greatest need''.
He also said parents would be given a stronger voice, with involvement in the running of schools.
But he rejected a bid by a group of parents at a Catholic primary school in Glasgow to remove the school from council control, adding that local authorities will retain a "vital role'' in the education system.
Some of the reforms will be contained in an Education Governance Bill, to be introduced next year, while others can be implemented without legislation, Mr Swinney said.
"The evidence is clear that the strength and quality of leadership in our schools is crucial to delivering improvement,'' Mr Swinney said.
"We know that headteachers want to focus on delivery of learning and teaching, not be chief administrator of their school.
"We will, therefore, give headteachers more power over decisions on learning and teaching, freeing them to make a difference to the lives of children and young people.''
The children's ward at St John's Hospital in Livingston is to close to inpatients over the summer as a result of staff shortages.
Janet McKay went missing in September 2015.
The First Minister's been speaking to farmers at the Royal Highland Show.
Most Viewed Pictures On Heart
Recently Played Tracks
To listen live, choose your preferred station:
Now playing: The best feel good music
Deposit £10 to get a £40 Welcome Bonus - That's £50 to play bingo, slots and more!*
Over 50 tracks to make you feel-good. New album out now...
Find your local four day weather report here.
Make Heart the soundtrack to your day and you could be a winner with great prizes up for grabs throughout the day.
Find out more about some of the companies advertising on Heart Scotland- East.