scoring scripts for logistic regression