Fixed fasta generation and changed arguments