add task toggle script.