add softmax scripts