def main():
  global settings
  settings = get_settings()
  md = metadata.read_csv(settings.input)
  filtered = filter_dates(md, settings.start, settings.end)
  metadata.write_csv(settings.output, filtered)