Added conditions of tasks.