Updated action_hooks to support scalable apps