Added nscmd.run_command method.