Run global hooks after locals, seems more correct