Working on the --export-local flag