Now seems to correctly write and read link to settings