modify script file