Add support for link_hooks and src overrides