adding script to get MLE estimates