added code to skip contig loading