adding pdf to options