added the qc script