Fixed selective clock-gating in ECG scripts.