Added configurable compression