setup gzip properly