fix the file permissions and fix a typo in README