Consolidate runner code