Fixed problem with grep detecting if sed line already ran
Fixed mistake in sed
Fixed sed mistake