r=self adding bookconversion and encryption changes