polished benchmark script