add support for enabling/disabling at runtime