reformat config
Improve observer to be fired on action