cutycapt with patches applied for pdf page size/orientation, cookie jar, and script