try getting values for env vars both ways