changes files mode to more secure values, and updates the README.md about chmod