Add hook setting to sample configuration section