Make the script executable, test analyze_logs, and fix for to_s on an array no longer resulting in a good template string.