Make script work for iterm2 & tmux when logging in via ssh