Added run_command() in methods.py

Of course, not tested!