Added redirects stdout and stderr to files