Fixed benchmark script.