Dundee ended the season season with a 3-2 defeat at home to St Mirren. Cammy Kerr gave the Dee an early lead but lost Darren O’Dea to a red card after 20 minutes.
Substitute Cooke put the saints ahead with two quick goals at the start of the second half. The Dark Blues had to play the last 20 minutes with nine men after Kusunga was injured with all three substitutes having been used.
Dundee managed to equalise through Wright, but Cooke completed his hat trick to give St Mirren a win that will send them into the play-offs in confident mood.