added an appsetting to try and fix the url issue