Start of extension install checking function.