added command and history file