add support for disabling by configuration