added gzip output spport