Add hook to get contents of submodule