gunicorn setup; error,base templates