Fixes #10 Readonly mode