Add script to update team membership
Script improvements