made code to test replacing an entire line with another string