removed outdated CodeGen script and updated the new one to be 2008 compatible.