Import textmask and create script

now correctly reconstructed with NaN.