Adding a setting for enabling compression