Kilmarnock returned to third place in the Ladbrokes Premiership table thanks to a 1-0 win over Hibernian at Rugby Park, courtesy of an Eamonn Brophy penalty in front of almost 7,500 fans.
St Johnstone guaranteed seventh spot with a 2-0 victory over Motherwell at McDiarmid Park while relegated Dundee ended a 10-game losing run by beating Livingston 1-0 at the Tony Macaroni Arena.
Inverness CT drew 1-1 with Ayr United to complete a 4-2 aggregate success and set up a Premiership play-off semi-final with Dundee United.
Stephen Dobbie hit a first-half hat-trick as Queen of the South thrashed Montrose 5-0 at Palmerston - they will now play Raith Rovers in the Championship final after Rovers’ 1-1 draw at Station Park secured a 3-2 win overall against Forfar Athletic.
Clyde saw off Edinburgh City 3-0 at Broadwood (4-0 on aggregate) and will meet Annan Athletic for a place in next season’s League 1. The Galabankies beat Stenhousemuir 2-1 at Ochilview to go through 4-1 on aggregate.
Berwick Rangers are on the brink of relegation from the SPFL after losing the first leg of the League 2 play-off final 4-0 to Cove Rangers at Balmoral Stadium.