Livingston scored three times in seven minutes to come from behind against League 2 hosts Stenhousemuir and avoid a Scottish Cup fourth-round exit.
Centre-half Nicky Jamieson rose to head Stenhousemuir ahead against the run of play from a first-half corner.
But Scott Pittman fired the Premiership side level just after the break.
Fellow midfielder Steven Bradley sent a thunderous free-kick past goalkeeper Jay Cantley before running through to slot his second.
A third straight away win means Livingston retained their record of never having lost at Ochilview since their previous incarnation, Meadowbank Thistle, lost there in 1995.
Jason Holt and Scott Pittman had started instead of fellow midfielder Stephane Omeonga and defender Sean Kelly as Livingston manager David Martindale adopted an attacking formation against hosts who sit seventh in the fourth tier.
Gary Naysmith’s side had only won twice in their previous eight outings – and twice in eight at home – and were content to sit back and try to hit the top-flight visitors on the break.
The strategy appeared to be working when they went ahead with their first foray forward after 26 minutes, Jamieson rising at the front post to meet a Matty Yates corner.
It had home fans dreaming of their giant-killing acts of 1995, when they beat top-flight St Johnstone and Aberdeen to reach the quarter-finals.
Cantley had replaced Curtis Lyle in goal for the hosts despite the latter’s loan from Kilmarnock being renewed and the 20-year-old was rarely troubled – until whatever Martindale told his players at the break turned the game.
The young goalkeeper was beaten by Pittman’s low drive from the edge of the penalty box before a quickfire double from Bradley – his first since his recent switch from Hibernian.
The midfielder sent a stunning 18-yard free-kick flashing past Cantley before firing low into the corner shortly after.
Match Report: Clive Lindsay (BBC)
Stenhousemuir: Cantley, Yeats (Walker 87), Higgins (Forbes 71), Wedderburn ▊ (Spiers 71), Miller, Orr (Sewell 71), Yates ▊, Brown, Corbett, O’Reilly (Crighton 71), Jamieson
Subs not used: Smith, Anderson
Goals: Jamieson (26)
Livingston: George, Devlin ©️, Boyes, Fitzwater (Obileye 82), Penrice (Longridge 82), Holt, Shinnie (Bahamboula 65), Pittman, Bradley, St.Kelly, Anderson (Guthrie 73)
Subs not used: Hamilton, de Lucas, Montaño, Omeonga, Sn.Kelly
Goals: Pittman (52), Bradley (55 & 59)
Referee: Euan Anderson