Added ability to write to server