Optimized analyze script to ...

handle more than one log file for cdv generation.