chnaged get hostname
version