Update Generate.pl