you can have one that does the export via client c...
# suitescript
c
you can have one that does the export via client callback and redirects as well