Use $plugins for loaded plugins instead of plugins to load