Adding publish command.
Changing duplicate subscribe to publish.