fixing script name saving
build