add event listener to supervisor config