Update codegen.py to use deps folder