Fixed file permissions
Fixed line endings