This logic should be in an init routine, not the config file