Fixed the Event Logging Script and cleaned up the Folder