Update to set the proper mode for run-scripts.