Modified Worker.py