Fixed codeGen to use python3 path, instead of just python.