changing way env variable is pulled in