Fixes Regeneration

+ Adds regeneration script
+ Regenerates with correct file paths