added support for overriding configuration values with environment vars