Updated groups script.