Make check_ip return info instead of printing