script for benchmarking fixed