Commenting out the file mode setting until I can look into further.