Clean up training script