updated client so server location can be passed in from cmd