Made changes to get celery tasks working again