Include regenerating defs in script