add option to save settings and to check their existence