QC_script update