run_command implementation complete