get host info script from Ilia Lischik