Fixes #5097 Add logic to handle hooks in ncf
Merge pull request #73 from VinceMacBuche/ust_5095/5097/implemnt_hooks_logic

Fixes #5097 Add logic to handle hooks in ncf