add ability to save config to different targets