add hs.application.watcher to watch application events