Fix the timing scripts to handle zeros better