script is better and doesn't delete enrolled
added an  if-then to identify whether file has end time.  Still needs to add a column