Setting the pdf options