Rewrite whitelist/ban. (temporary code tho)