changed stdout/stderr to filename.log