index.js changed to get fasta