tweaks to ssh script