trying to get things to work when stdout is redirected