Create write.dr