added refs to env vars