Add settings and add history of commands