Added minor tweaks to file permissions