changing tasks.py to incorporate back-end