add compress option