Modified parse_instance() to return host