Add conditions to all tasks