Added Team/Squad replacement logic

Now uses appropriate team/squad names in the downloadable log file.