Improved the gzipping.
Removed unneeded variable.