Added hostname to hosts file code