Fix configuration for deployment

Trying to fix code so it deployes and runs correct on Azure Websites.