add outboud substitution condition, glitch configuration move into class method, some changes