Implements compress feature for ci tool