Swapping default hooks with custom hooks