Adding connect task and registering live task.