completed script reads all lines