updated tmux session handling