updating image path updates script and record page no. of lines display