Adding pdf generator