moved initial actions to Worker.init()