Optimization: Use list-comprehension instead of map/lambda
Fix the log generator usage in the README