fixed tmux if statement so that it doesn't execute if tmux is running.