call beforeRequest on export.