Adjust if scentence for compress in _do_compress