Add settings for hook format
Update test for hook settings