Add build script from cocore