Made parseDiscoveries more friendly - intention is to run it as a CRON job