Loading data into the script runtime and setting the model