client script: do not execute when disabled. Refs #2975