Added lines to the app config to allow us to override the registry paths from environment variables.