some additions

to code generation scripts, move all this hell to another comp