Dear Jason, this solution works. However, what if one needs to use both Endnote and Mendeley add-ins?