Made some changes to tasks.py to perform my own splitting method