made fetch script work on fastq files as well