Hibernian booked their place in the semi-finals of the Tennent's Scottish Cup with a 2-1 win at Queen of the South.
David Murphy gave Hibs the lead right on the stroke of half-time, but former Hibs man John O'Neill stunned the visitors with the equaliser three minutes after the break.
Thomas Sowunmi grabbed the winner for Hibs on 51 minutes with his first goal for the club.
Dunfermline put their SPL woes behind them to see off Partick Thistle 2-0 at East End Park.
Stephen Simmons gave Dunfermline the dream start with the opening goal after just four minutes and he wrapped up the win with the second goal four minutes from time.