proper use of env vars