hook into application launch