added enableExtension() to handle preinstalled extensions