After seeing his team come out on top in Perth in the last game of 2017, Dundee manager Neil McCann was beaming to see his side go into the New Year on the back of a win.
Marcus Haber found himself back in the Dundee starting XI and made an instant impact by netting only his second goal of the game.
Richard Foster was shown a straight red-card after only 22 minutes which gave St Johnstone a mountain to climb but Dundee would put the game to bed in injury time when A-Jay Leitch-Smith struck home from 18-yards.
After the game, McCann was quick to praise his players despite not being happy with how the team performed towards the end of the match.
"I'm delighted. Anybody that watched me on the sidelines there for the last 20 minutes would have seen that probably I was very unhappy with just how we kind of controlled the game and then managed it but it was a fantastic finish from A-Jay to kill it off and really it is a wonderful way to end the year.
"I think we have improved a lot. We'll now look to have a real good break for the boys, I've told them to go away and make sure they are relaxing for the next week anyway and just turn the engines down. But it's a good place to come back and start again off the back of a good win.
"[The sending off] was difficult as it was on the other side of the pitch. Maybe Ricky did look a bit high but I don't know what kind of contact there was but Willie [Collum] seemed pretty certain for the red card."