Added code generation script.