Fix celery calls and csv parsing