Refactored Worker Role
tweaked loggin a bit