added loading of plugins