Change from do bash command to cpm