Eds script for ensemble built off of demo_resonance file by Ville