alternative method to set env vars