Update magic numbers in genscript