Reading new host address & new host ip from config

Updated new_host & new_IP to read Host & IP from config.