added zlib options from before