added addfields.py