generator script update