...
added a codegen script and fixed a few typos in utils