Fix bug to allow multiple instances of extension.
Merge pull request #117 from mtsgrd/master

Fix bug to allow multiple instances of extension.