update runModels() for use with wine