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