improved pap script and readme, added examples