fix tools sql connections to not request sql (pq does this by default)
Add database query to get hostnames for collection