the change is in line 75 and 86 . line 75 : we need to check if the plugin is disable or not ; line 86 : if the plugin enable then we will make the template default , or dont do it