Simulation script