St Johnstone came from behind to defeat Dunfermline Athletic 2-1 at McDiarmid Park on Friday night and move six points clear in the William Hill Championship.
Rory MacLeod fired the Pars in front just before half-time but recent signing Kai Fotheringham equalised for Simo Valakari's men early in the second half .
Winger Josh McPake grabbed the winner with seven minutes left of an excellent match when he converted a Jamie Gullan cross from a tight angle at the back post.