Dundee United are through to third round of the Irn-Bru Cup after this win over Alloa at Tannadice.
The scoreline ultimately flattered the home side who struggled throughout against the part-time Wasps.
United opened the scoring from the penalty spot through Patrick N’Koyi in the second half with Jim Goodwin’s League 1 side equalising thanks to Kevin Cawley.
However, United struck twice in stoppage time with fabulous goals by Paul McMullan and skipper Willo Flood.
United boss Ray McKinnon made nine changes from the side that was beaten at St Mirren last week, selecting a mixture of youngsters along with more experienced players in need of game time against the Wasps with a starting spot for new signing Joe Piggott.
There was a lacklustre opening to the game with United being restricted to a couple of early attempts from long-range by Logan Chalmers.
However, Alloa had a huge opportunity in the 23rd minute when former Dundee left-back Daryll Meggatt cut the ball back to Cawley just inside the Tangerines’ box but he dragged his shot wide with the goal at his mercy.
After that, there was little for the 1,763 crowd inside Tannadice to become excited about before the Wasps then had another good chance in the 44th minute but Alan Cook lost his composure and blasted his shot over.
The teams headed down the tunnel at half-time with the game in desperate need of a spark of inspiration from somewhere.
McMullan tried to provide it one minute after the restart but his curling shot flew just over.
On the hour mark, Chalmers had another pop at goal but his effort was easily gathered by Alloa keeper Neil Parry.
However, the keeper was unable to prevent United taking the lead in the 72nd minute. N’Koyi burst into the Wasps box and was brought down by Andy Graham with referee Willie Collum having no hesitation in awarding a penalty.
N’Koyi picked himself up to take the spot-kick, calmly sending Parry the wrong way and the ball into the back of the net.
But just six minutes later, Alloa equalised. Sub Adam Martin cut the ball back to Cawley who gave United keeper Deniz Mehmet no chance with a drilled low shot from 16 yards.
N’Koyi had a great chance to give his side the lead once more in the 87th minute but his strike from 12 yards flew straight into Parry’s hands.
The game looked destined to head to extra-time but in the 92nd minute, N’Koyi set up McMullan who made no mistake, sending a superb strike high past Parry.
The icing was well and truly put on the cake just a minute later when Flood hit a thunderous drive from 22 yards that flew past the helpless Parry.