updated qc script
added updates required for easier updates