add export post-book function