Made compression configurable