A review of Saturday's action in the Clydesdale Bank Scottish Premier League.
Carl Finnigan's late winner against St Mirren was enough to preserve Dundee's Clydesdale Bank Premier League survival aspirations for another week.
John Brown's side arrived in Paisley 13 points behind their opponents with five games to play but got a 2-1 win that keeps them up for now.
Jim McAlister had smashed the visitors ahead only for Saints' top scorer Steven Thompson to level just after the interval.
But with time running out, substitute Finnigan squeezed a header down off the underside of the bar and just over the line to ensure their battle against relegation continued to next week's home fixture with Hearts.
John Sutton's early goal proved enough to put Hearts firmly in the running for seventh place, although they made life difficult for themselves at Kilmarnock.
Sutton scored the game's only goal from close range in the fifth minute and Hearts were rarely troubled before Cammy Bell denied them a second when he saved Ryan Stevenson's 62nd-minute penalty.
But they had to survive some late pressure with Kris Boyd passing up two good chances for the hosts.