updated file checks for non installed sites

updated file checks for non installed sites