Added check to see if options are available before using it in writeFile
Updated dist files
Blanked out readme
Updated dist
Reverted to master, accedentely included commits not wanted
Reverted to master, accedentely included commits not wanted. Second try
Merge pull request #477 from andwaal/master

Added check to see if options are available before using it in writeFile