added publish cmd