Merged with test.py to create pdf properties