Changed method of obtaining feature flags to environment variables