Fix scripts to work without UWSGI_SCHEME