Enabling gzip compression and cleanup