updated example to name.readonly = false
Merge pull request #2 from mswertz/master

small fixes