added dynamic configurations based on environment via an environment variable