mod - implement 'create_hook_tree'.
fix - config assignment.
mod/fix - ensure that default.sync is copied, fix logging.