Changed individual bom and plist check to array-based check for future proofing