Updated with the extension uninstall option

pass the reference name of the extension as well here!!