added QC metrics and upgraded metrology parsing