Update dependencies for uwsgi deployment

Also made more settings configurable