Changes in Account Merge Script to Handle Various Cases