enchanced the connect command
Merge pull request #30 from andrewbackes/dev

enchanced the connect command