Updated for latest tab2opf.sh script