minify random seed script