issue #1254 in LoadData, save grouping tags if appropriate, make --get-batch-commands use -f and -l if possible