Fixes the wsgi script
Merge branch 'fix-wsgi' into deployed