Almost finished membership change script

Almost done need to find a fix as to why it is not deleting groups.