Update get_host_info. Now all functions should work properly