Updated bench script with modular version