renamed SCRIPT_RUNNING & SCRIPT_STOP_REASON to scriptRunning &
scriptStopReason as they're not constants.