Not sure if you have seen this or not, but it seems to be a similar way you are trying to configure your app.