Fiddle with compression flag and add encryption flag to attribs.