save config options to file