updated server to allow for stdout/stderr to specify a directory instead of a file...