fixed bug with duplicated resources and added Ensemble.archive support