Thank you and good night.
- Kilmarnock play-off bound as Hamilton and Partick Thistle seal safety
- Hibernian or Falkirk to face Killie after Hibs beat Raith Rovers
- Livingston relegated, Stranraer to play Ayr United in Championship play-off final
- Cowdenbeath relegated, Clyde and Queen's Park progress to League One play-off final
Please join us again tomorrow for live coverage of Celtic v Aberdeen.
Celtic are all but assured a fifth straight championship, leading the Dons by nine points with three games to play.
A draw or a win for Ronny Deila's side will ensure another Premiership title.
A fairly dramatic day. A lot of outstanding issues decided today, including two teams relegated.
But the weekend is not over yet...
Stranraer were taken to extra-time by Livingston but it is the Stair Park side who progress to the Championship play-off final.
Livingston are relegated from the second tier and start next season in League One.
That should be that as Jamie Longworth extends Stranraer's aggregate lead. It looks like relegation for Livingston with Stranraer progressing to face Ayr United in the Championship play-off final.
Delighted. A really good professional performance from the lads. I think we deservedly won the game
The Championship play-off semi-final swings back in Stranraer's favour with Liam Dick's left-foot shot finding the net.
The League Two play-off final is tied at the midway stage, with the return leg next Saturday.
We know what we've got to do now. I didn't feel that the lads didn't give the effort. We didn't stick to the game-plan
BBC Sport Scotland in Livingston
"Unbelievable scenes at the end as Livingston score late twice to make it 6-6 on aggregate and take it to extra-time!
"You wonder if Livi will be so boosted by their comeback that they will have the better chance of getting over the line."
Ayr United have secured their place in the final and will play either Livingston or Stranraer, who are currently playing extra-time after a 6-6 draw on aggregate.
Cowdenbeath's 2-1 aggregate defeat by Queen's Park means they will drop down a division to League Two.
The League One play-of final will be contested over two legs by Queen's Park and Clyde.
In today's early kick-off, Hibernian beat Raith Rovers 2-0, 2-1 on aggregate, to set up a Premiership play-off semi-final against Championship runners-up Falkirk.
The winner of that tie will play Kilmarnock over two legs for a place in next season's Premiership.
Let's start in the Premiership.
Kilmarnock will contest a play-off to preserve their top-flight status. That tie will be against Hibernian or Falkirk - more on that later.
Hamilton Academical and Partick Thistle are safe, with bottom side Dundee United's relegation confirmed earlier this week.
In the top half of the table, fourth-placed St Johnstone hold a five-point lead over Motherwell after winning at Fir Park this afternoon.
Sixth-placed Ross County move to within two points of Well after drawing with Hearts.
Cowdenbeath 1-0 Queen's Park (agg 1-2)
Elgin City 0-2 Clyde (agg 5-1)
Ayr United 2-1 Peterhead (agg 6-2)
Livingston 4-1 Stranraer (agg 6-6) - extra-time being played
Craig Halkett's free-kick dramatically brings Livingston level on aggregate and this Championship play-off semi-final is heading for extra-time.
No goals in the second half at Fir Park. First-half efforts from Saints' Steven MacLean and Danny Swanson followed Scott McDonald's opener for Well and it is the Perth side who take home the three points.
Hamilton Academical are safe. Carlton Morris's first-half goal was enough to ensure they will be playing Scottish Premiership football next season, with Kilmarnock losing to Partick Thistle.
Scott Bain stands up to a powerful close-range shot from Hamilton's Dougie Imrie. Incredible with the amount of chances for both sides in this game there has been just the one goal.
Danny Mullen's goal creates a nervous end to the game for Stranraer. Can they hold on to complete a Championship play-off semi-final win and consign Livingston to relegation?
A point apiece at Tynecastle with Juanma Delgago's late goal cancelled out by an even later one by David Goodwillie.
Partick Thistle's Premiership safety is secure while Kilmarnock are, as things stand, heading for a relegation play-off against either Hibernian or Falkirk.
Steven Lawless and Kris Doolan got the vital goals for Thistle at Rugby Park.
It is almost three for Thistle as Sean Welsh fires off the crossbar from 20 yards.
David Goodwillie's first goal for Ross County and his third at Tynecastle this season levels the match.
Finally something of note happens at Tynecastle with Juanma Delgado converting Prince Buaben's pass.
Kallum Higginbotham's low drive beats Thistle goalkeeper Ryan Scully, but defender Gary Miller is well placed behind him to clear from in front of goal.
BBC Sport Scotland at Borough Briggs
"Clyde cruising here to the League One play-off final, Jordan Kirkpatrick's curling free-kick putting them three goals clear on aggregate and they're under no pressure at all. A well managed performance restricting their hosts to very little."
Two great chances in a minute for Dundee. First, Jesus Garcia Tena clears off the line from a Darren O'Dea header, then Rory Loy tries to finish from a loose ball but goalkeeper Michael McGovern gets down well to hold it.
Kilmarnock striker Kris Boyd fires just wide of the far post as he holds off his marker and shoots swiftly on the turn from 12 yards.
BBC Sport Scotland in Livingston
"What a brilliant, innovative half-volley by Paul Cairney to give Stranraer a bit of breathing space in this tie.
"The former Hibs and Killie midfielder's dipping strike was hit from 25 yards at least."
Dundee goalkeeper Scott Bain is almost surprised at making the save as Dougie Imrie somehow fails to make it 2-0.
He does the hard part by getting in behind the defence and reaching the ball with a diving header, but Bain doesn't have to move as the ball arrives at head height and he simply palms it over the bar.
Paul Cairney scores what could be a vital goal for Stranraer to take them back to a two-goal advantage on aggregate.
It looks like Livingston's relegation from the Championship will be confirmed, unless they can find a couple of goals in this play-off semi-final.
BBC Sport Scotland at Tynecastle
"I'd love to report that this match has drastically improved in the second half but that would be an outrageous lie.
"Apart from a Prince Buaben shot just after the break, which Scott Fox did well to turn round the post, it's been pretty desperate stuff."
Kris Doolan latches on to a long ball through the middle and finds the left corner to double Thistle's lead. It's not looking good for Kilmarnock while the Jags are all but safe.