updated plugin to use MetalCore