More support for pdf download