Added switch for whitelist and blacklist in the profile.