Make priority setting actually work