Adding option parsing so this isnt always connecting to test at localhost.