Minor corrections to setup script
[Minor] Change file mode