Added celery code