dispatcher.py can pull tasks and judge them