Add run_command from api directly