rename initLocal to localExport