The problem is that the script doesn't work. It add all printers instead of just the ones associated witht the group.