Create scripts directory and add write-snps script