Fixes script classpaths to use avalon and logkit. Fixes last xml-doc bug that prevented generating the PDF.