bionic-reading-convert-epub
I use this on a Raspberry Pi
sudo apt-get install python3-pip
pip install beautifulsoup4
uncomment the last 2 lines in the script, replace path to file with your file location. It will output the modded file to the same place
file_name = "path/to/file"
create_bionic_book(file_name)