Added option to not compress