final code changes before final simulations are run