Adding publish cmd