Fix messages
Add options for specifying external hook files