Run callback if plugin is loaded