completing training script