Removed __date__ since I was using this to keep track of when I last edited the file and this information is easily found in git.
Fixed location of the generated log file so that it is in the same directory as the script.