Changes to validate(ion).py