she-bang added to receiver.py
allowed_hosts defer check to uwsgi
static moved into public static, defaults for environment variables added