Replacing write log to file with event viewer, changing some comments