simulation scripts