added notebook generation before simulation