I guess I was almost there the entire time. I had another script that I was trying to model it after and they were using MultipleGroupListing as the command but I could not confirm if it actually worked.

Thank you for the help, it worked like a charm.