fix startsimulation script