adds allowed hosts.