Remove echos and whitespace