added chainInspector.py2