added write
Merge pull request #85 from hanssonr/gh-pages

added write