implemented export option in all pages