add cmd to pcs