Change writePath to /tmp