updated generatorpage and randompage