Motherwell snatched a top six spot with a dramatic late show at Livingston.
Odin Bailey and Alan Forrest looked to have buried the Steelmen, with results elsewhere going against the team.
But Callum Slattery’s 30-yarder, followed by Ricki Lamie’s dramatic late header in the third minute of stoppage time, sent the away fans wild and secured the top six place.
Jake Carroll came into the team for the injured Stephen O’Donnell in the only change to the side which defeated St Mirren last time out.
Motherwell barely had a chance in a first 45 that was dominated by Livingston.
A mix-up in the Livi defence early on should have presented Efford a chance at an open goal, but the ball held up in the air long enough for the covering defender to clear.
After knocking on the door for long spells, the hosts took the lead in the 25th minute.
Forrest cut inside and split the defence with a through ball which Bailey ran onto and, with Kelly rushing out, poked the ball past him into the net.
O’Hara was introduced for Cornelius at the break as Motherwell looked to find some sort of response, and started the second half more positively.
Van Veen sent a difficult shot over the bar early on and then the Dutchman thought a shot two minutes later had crossed the line, but the linesman said goalkeeper Stryjek had kept it out.
Goss was bundled over in the box with no consequence as Motherwell flew out of the blocks and looked certain to claw their way back in.
But they would be the architects of their own downfall just before the hour mark.
Bailey was allowed to cut inside and get a shot away which was blocked, but fell to Forrest just inside the area. With the defenders slow to react, he was able to pick his spot, firing low and hard into the bottom-left corner.
Tierney and Woolery replaced Efford and Carroll as Motherwell looked to spark a reaction and it came with 18 minutes to go.
A ball into the box was cleared out where Slattery reacted quickest to sprint onto it and send a 30-yard piledriver into the bottom-left corner of the net to give ‘Well hope.
‘Well kept pushing but the big chances just wouldn’t come until the third minute of stoppage time.
A corner from the right, with Kelly up, Mugabi hit the bar with a header before Lamie reacted quickest to knock the ball over the line and send the away fans wild – and Motherwell into the top six.