allow for api url to be more easily specified