add use sudo to redirect output in a command.txt