adding tee option for run