bugfix: perc mean is now also selectable via parameter use_mean