fixes to pass settings

run.write.configs now takes settings as parameter instead of model
start.model.runs now takes settings as parameter instead of model