new core script