Dundee made two changes to the team with Fontaine and Sow replacing Fisher and Mullen. Charlie Adam missed the game due to suspension.
Dundee started slowly and fell behind when O'Hara scored after just two minutes, worse was to follow when a poor defensive clearance fell nicely for Wighton and the Ex-Dundee striker scored with a delightful lob to put the Pars firmly in the driving seat in this vital game for both clubs.
After this poor start Dundee settled and they took the game to Dunfermline and McMullen had a good effort saved well by Fon Williams. Dundee were putting in some decent crosses with Ashcroft going close twice with headers.
But on 30 minutes Dundee pulled one back when Jason Cummings scored with a follow up header after Sow had two efforts saved by the Pars keeper.
Dundee finished the half strongly and if they can get the next goal they will be back in the game big time.
Second half and Dundee start very well and Danny Mullen comes close with a shot which the keeper touches his shot onto the bar. Next he denies Ashcroft with a great double save. But Dundee draw level when after another Ashcroft header is saved Danny Mullen was quick to stab the ball home.
Minutes later it was 3-2 Dundee when Lee Ashcroft headed home despite the a great effort from the Pars keeper. Dundee were in total control and deserved to be ahead in the game. They kept attacking and were unlucky not to increase their lead.
Dunfermline made three changes to try and get back into the game, and they did have a couple of chances late on. Dundee kept working hard to close them down and attack well to see the game out.
A massive three points for the club tonight and it was good to see the players work their socks off to come back from 2-0 down. They had 21 efforts at goal tonight so that is a big improvement.
Dundee: Legzdins, Elliott. Ashcroft, Fontaine, Marshall, McMullan, Anderson, (Byrne (86), McGowan
McDaid, Sow, (Mullen (39), Cummings (Afolabi (90) Subs Not Used: Ferrie, Kerr, Cameron, Fisher
Referee : Bobby Madden