make agent benchmarking optional
better flag setting