adding hook to shared submodule