benchmark script fixes