add core script file