Split script into missing data and imputed data versions