Updated config pattern (to support azure deployments)