reenableing the service variant, adding a switch for edx mode to gunicorn