fixed bug in config file retrieval; moved serviced connect info lookup to DeployedApp* code.