Add checks for external programs in qc scripts