removed autopublish and subscribed to tasks