Replace ssh commands with single script

Kind of why I made the script separate to begin with. Duh.