Rename events to hooks
Fix running serve with local config