Make compression method selectable