Modify replacing script file