[DO NOT MERGE] 587 save public private settings

closes #587