add cmd -> hook.json file