update randomize script