Reenabled compression and made it optionally possible to disable