Add version to writestatus