debugged tmux script