add script to run the code generator