Add run_command helper method