refactor setup.sh and _setup_util.py to set env vars for all workspace in one run, part two (289)