Working settings read/restore code that goes together with updated firmware tool