gunicorn modifications to manager-rest