improve import2: save/restore import options