Added optional stdout_logfile and stderr_logfile

Added these extra options as optional since the default is probably ok for most.