Updated wb_env.sh to be compatible with /bin/sh; export all env vars.