Update application

Prior to this commit we did update the application to pass environment
through to the application