Patched to a working pdf export. Todo: Fill values and set new columns