added the ability to add domains to whitelist