removing the output of a script