updated check_disk_write.pl