Added runMain task.