add PDF generating script