Fixed issue with environment variables

The script would not read the environment variable due to a fuck-up
on my end initializing the environment variable in bash. All is well.