Changed stdout and error file extensions to .log