Added plugin directory loading