updated sshify method