Added ParseArgs and Connect