Added the publish option to the action server as well