setup for wicked, almost
wicked pdf basic functions