Adding gzip support to generator