Use simpler shell commands with tee