updated config to use deflater