added support for custom inactivity periods for operators