There is a script error in line 38.
_specialists = _units select { ((_x getunittrait "explosiveSpecialist") || (_x getunittrait "engineer")) && (items _x) select {getNumber (configFile >> "CfgWeapons" >> _x >> "ItemInfo" >> "type") isEqualTo 620} //Missing ( ) here };