updates to gen ensembles script