added: logging to find a problem with plugin priorities resetting