uwsgi changes to get it working