Configure environment to use Servlet environment

I think this fixes the bug with deployment. I can't check because the computer that I have the deployment key on is back in Stockholm, so I can't easily test deploying the app. You will have to merge this and see if it works, haha