updating imports to deal with when there is no celery