added changes from framework for bookwriter