modified bench.sh for nez version