Fixed Build Script to actually use the corePluginLoader