Qc amount calculation script should work for both aggregate qc processes and normal qc processes.