DRY up abort continue scripts