moved gzip after merge