qc scripts