updated for Calibre Version: 0.9.18