Modified IssiteInSiteDB and UsableSites scripts for siteDB v2

Modified IssiteInSiteDB and UsableSites scripts for siteDB v2