Add --range option to export