rewrite to gzip versions