update info url finding logic to look for indexOf /rest/services