Added Corwin's mode exclusion logic

Added Corwin's mode exclusion logic