Sorry have to ask this - are you testing this script against your own account, that you just added to this group - and did you logoff and log back in before testing ?

-Shawn