added global switch to enable/disable scm-trigger