Added cookbook for custom hooks