WritePath is not a standard function