updated monte-carlo scripts