Fix file permissions and edit README