Added ability to run scripts locally without SSH.