added the corebuild script