simulation parameter added to run() and runWrapper()