2>/dev/null hack added, since errwrap.sh is not working, but for this sort of thing should be ok