Added Gzip log line and baseDir clean up code.