Put logging into hook to see if it is being called.