Added run_command() method.