Updated substring in read.c