Fixed hysteretic damper script