Thank you for the reply!

Where should I write the script of Getting the group data?