6/4/14 - added importing threshold checks in runHysteresis