Modify write.py to work with Dublin data