fixed how it sshs and fixed issues with improper quote usage to pass variables