make stdin/out/err configurable