Modified benchmark.py file that supports IPPET.