added user config hook