updated SNP calling script