more os agnostic mod to bench.zsh