add metadata to output vcf; rename variables for clarity