One of the only things left to be determined on the final weekend of the Scottish Premier League season is fifth place, which carries the final Europa League spot.
And if sixth-place St Johnstone wants to have any hope of claiming that position, the club must end a four-game losing streak when it hosts Rangers on Sunday.
Hearts sits in fifth place having taken advantage of St Johnstone's stumbles and the Edinburgh side will visit league champions Celtic on Sunday with the Hoops set to receive the league trophy.
Rangers has been in a good run of form lately with three wins in five games but the club's future is still very much uncertain and a game with St Johnstone that carries little meaning for the Glasgow giants could be just what St Johnstone needs.
Sunday's other match on the final day of the season sees third-place Motherwell and fourth-place Dundee United clash at Fir Park.
On Saturday, the bottom six teams are in action as relegated Dunfermline plays its last game in the top flight before heading down at home against Kilmarnock.
Hibernian secured its safety on Monday with a 4-0 victory over Dunfermline and looks to close out its campaign with a third straight win, while Aberdeen entertains St Mirren.