removed removed file
include classes in doc.txt
scribus changed pwd to HOME when executing scripts
fixed infinite loop when height = 0
page_num is not defined

all pages should be the same size, so this should not be a problem