Fix abbrev handling in generation script