refactor and create script that deletes cache and re-crawls the whitelist