Ensure all tasks are run within an 'on' context