Update file references script