Export validation beforehand