Should fix history list not being saved when launching from CLI