Connects and gets metadata at this point