Make it work with gunicorn by giving confpath as kwarg