Championship side Queen of the South appoint East Fife boss Gary Naysmith as their new manager.
East Fife Football
Albion Rovers' late winner against Queen of the South secures a Scottish Cup tie against Celtic as St Mirren fire five past Spartans.
Rangers v Motherwell and Kilmarnock v Hamilton are the two all-Premiership ties in the Scottish Cup fourth round.
Leaders Livingston are stunned at home by Peterhead in Scottish League One, ending a three-match winning run.