Fixed chmod on standalone compiler. Synced models. Added make regen to code generation.