Added aggregate argument to qc_amount script
qc amount calculation works for non aggregate as well
Better error messages for qc amount calculate script