Add CHEF_USER
Improve history reading