Motor racing legend Sir Jackie Stewart will provide expert advice to a safety review being carried out after three spectators were killed when a rally car crashed into them.
The review, which will examine safety at all motorsport events, was announced after the fatal accident at the Jim Clark Rally in the Borders.
Iain Provan, 64, Elizabeth Allan, 63 and Len Stern, 71, were killed in what was the second of two crashes at the popular event last month.
The review will have a particular focus on safety for spectators, and will look at all types of motorsport that takes place in Scotland including motorbiking, karting and car rallies.
Sir Jackie, a former Formula 1 champion, has agreed to provide expert advice to the review, based on his decades of experience of working to improve race safety around the world.
Sports Secretary Shona Robison said: "Sir Jackie Stewart has a distinguished record of improving safety for drivers in Formula 1, so I am very pleased that he has agreed to share his experience to ensure that all those who want to enjoy motorsport events in Scotland are as safe as possible.
"The Review of Motorsport Event Safety is critical to make sure we learn lessons and never again have to witness the tragic events of last month, where three spectators sadly lost their lives."
The safety review was announced by Justice Secretary Kenny MacAskill just days after the fatal crash.
"Spectator safety must always be paramount," he told MSPs at the time.
"In the light of the deaths the Scottish Government will commission a review of motorsport event safety in Scotland, drawing on safety experts and the knowledge and expertise of the motorsport community."
The review will be chaired by the Government, with leading figures from the Motor Sports Association, the Scottish Auto Cycle Union, Police Scotland, Scottish Borders Council and the Health and Safety Executive. Others are being sought to add their expertise, including a drivers' representative.
As part of its work, the review will examine the range of guidance that already exists from bodies such as the FIA motorsports body.
Ministers have asked for the review to make its interim recommendations before the Isle of Mull rally takes place on October 10 to 12, with the clerk of the course for this event also included in the review's expert group.
Final recommendations are due by December, with the organisers of the Jim Clark Rally having been told that as part of the conditions for next year's event they must demonstrate how any proposed changes will be put in place.