Add variable support to main config files