better attributes and writing out to disk
Merge pull request #2 from steviedenyer/master

better attributes and writing out to disk