East Stirlingshire avoided a shock Scottish Cup second-round exit thanks to a three-goal burst in the final 15 minutes against Preston Athletic.
Stuart Miller tapped home after 14 minutes to put the East of Scotland League visitors ahead at Ochilview.
Andy Rogers equalised, but Sean McAuley restored Preston's lead after the break, both goals being from penalties.
However, Brian Graham's low shot, an overhead kick from Colin Cramb and Sean Anderson's 25-yard drive won the game.
East Stirlingshire: Barclay, Hay (McKenzie 64), Dunn, Forrest, Bolochoweckyj, Pully, Donaldson, Kelly (Graham 64), Cramb (Anderson 86), Rodgers, Ure. Subs Not Used: Richardson, Newman.
Booked: Barclay, Graham.
Goals: Rodgers 25 pen, Graham 72, Cramb 84, Anderson 90.
Preston Athletic: Gilpin, Cathcart, McCaul, Costello, Craig Scott, McAuley, Campbell (Barton 71), McLaughlan, Miller, Craig Manson, Wilson (Thomson 34). Subs Not Used: Cairnie, Noon, Porteous.
Booked: Campbell.
Goals: Miller 14, McAuley 48 pen.
Att: 382
Ref: B Madden