change celery script and bugs