Converted hardcoded constants to config-loaded variables.