Modified the script to work on atmosphere.. root user over celery