Reenabled pdf creation