modified instodata.py to support gsu code