Bottom side Alloa came from behind to win at Dunfermline and secure just a fourth Ladbrokes Championship victory of the season.
The Wasps travelled to East End Park on a four-match losing streak but a spirited display saw then record a 3-1 win.
Kevin Nisbet’s 20th-minute header had Dunfermline ahead but within five minutes Peter Grant’s side had turned the game around.
Adam Brown’s strike drew them level almost immediately before Kevin O’Hara’s low drive from the edge of the box had Alloa in front.
The much-needed points were wrapped up from the penalty spot after 66 minutes as Iain Flannigan converted after Nisbet tripped Jon Robertson.