optimization script can now plot scores and us mcmc