extended bootup_gen.pl