Refactor conditionalDisable plugin to localEval