added a platform unit check into the qc script