Adjusted file mode for script.