Added contig generation