added component condition and load the plugin in after theme setup