Rewrote the constraint for running behavior