add stack.sh log file redirect