added script. Prints all relevant lines.