misc cleanup to support manual refresh of saved exports

should be no user facing changes.

wait for build