Build and run the simulator