Rory McAllister inspired Peterhead to a 5-3 victory against Falkirk in the Scottish Challenge Cup this evening.
McAllister added his hat-trick just before the break before Alex Cooper made it 3-3 with around 15 minutes remaining.
However, McAllister scored twice late on to take his side through to the next round.
Two second-half goals in four minutes were enough for the home side, who took the lead through Alan Cook on 67 minutes before Stephen Stirling wrapped up the victory.
St Mirren found themselves a goal down after the first minute against Annan Athletic, but responded to win 2-1.
Kevin Nicoll was sent off for the home side just after the half-hour mark and the visitors immediately made their numerical advantage count as Michael Moffat netted from the penalty spot.
Fayssal El-Bakhtaoui scored the second just before the break, and Moffat added his second of the evening eight minutes from time.
Results in full: Forfar 0-3 Dunfermline, Queen's Park 1-0 Dumbarton, Annan 1-2 St Mirren, Falkirk 3-5 Peterhead, Queen of the South 0-1 Livingston, Stenhousemuir 2-0 Raith Rovers