training data script