Namespace events and run on load