change extraction of patentnumber from url
add pdf attachment