simplify Export routine, open setting if requested