adding action_hooks, updating config.js