Reverted change in run_simulation