Create script that generates PDF
Fixed a bug in epub-script