Now uses pxssh to work better with ssh

Now also checks return value of each command