added getInstanceConfig functionality