Added ability to parse out ArcGIS instance automatically.