add makePdf task.