creating the query for hostscraper, using information in config