typo fixes for regen scripts