Merge pull request #1 from anders/master

os x fix
Use \n line endings.
Change file permissions from 755 to 644.