add option to disable history in config