This outputs the script itself, doesn't id? I think you want to redirect the output of `tee` to /dev/null, as it's pretty meaningless.