Minor fix to config hook