run command implementation in