Configuring the simulation