Adding get hostname, create host