Duplicated changes to readonly files.
Merge pull request #108 from tobyk100/readonly-fix

Duplicated changes to readonly files.