enumerate: More robust script