Carlisle regained the lead dramatically six minutes from time when the ball broke for Osman in the box and he flicked it over keeper Brock with substitute McDonagh getting the final touch before the ball crossed the line.