maybe the problem was that it wrote to stderr?