update scripts file