Fixed deprecated stuff, hosts changed to trust