Updates gen.py to version-1.05