Added CPU averages and heredoc'ed the output