Correct file permissions and move docs