set up worker role