Checking for configuration env variable

* If no config is set the get the env variable