Changes blacklist to whitelist