Monte Carlo script