grouQuery added to script