Improved hooks, upstart, config.