working on getting write to rewrite over links
other than that write works