fixed several problems with Scribite 5 integration