added flags to output read1, read2, or only proper paired reads