Glenavon needed a 94th minute penalty to see off Tommy Canning’s bravehearts from the Championship.
The game looked certain to drift into extra-time when Guy Bates was taken down by central defender Liam McMenamin.
And with home fans holding their breath Matty Burrows kept a cool head to send keeper Stefan McCusker the wrong way.
What a relief for the home side who were outplayed at times and who had to come back from a goal down. Canning’s men can count themselves unlucky for had Andy Sproule, younger brother of Northern Ireland ace Ivan, been more accurate with his finishing the outcome would have been very different.
Glenavon were lethargic throughout and fell behind in the 28th minute when Dwayne McManus drilled in a shot from 25 yards and Andy Coleman could only palm the ball into the air and it dropped over his head.
Glenavon’s best effort was a spectacular Burrows overhead scissor kick which had it not smashed against the bar would have been a rival for the effort which just failed to win him Europe’s Ballon D’Or a couple of years ago.
It was Andy Kilmartin who got Glenavon back into the game four minutes after the break.