Add training script.