- Improvement: export now take pdf path and generates pdf