add gzip and environment