added compression level to parameters