Adding an error check to extract_vcf eventhough it's just a hack