adding commandline argument for setting http endpoint