Dundee hit back to beat St Johnstone 2-1 in the cinch Premiership this afternoon and move three points clear in sixth place in the table.
Matt Smith gave Craig Levein's men an early lead at Dens Park but Luke McCowan equalised from the penalty spot with 15 minutes remaining.
Jordan McGhee scored an 89th-minute winner with a header from an Owen Beck cross as Tony Docherty's side prevailed in front of a Tayside derby crowd of 7,102.