Changed the definition of P1
Added writePar option, and changed the defaut settings (including proper embedded parfile testdata)