Updated the command script to support tmux passthrough.