Allow flask to configure celery