training script