Added conditions of tasks