Refactor tmux commands