Changed groupID in query to environment variable