Adds a run_command() function
SSH fixes