Restore PDF creation