buildrunmodel.js adjusted