Fix so permission changes in the library are handled (issue #8)