add background_cmd, move tmux, cleanup