export and redirects