# Update Contracts Start Date

## Overview

This script is meant to be used to update some contracts that have a missing/wrong `term_start` and/or `initial_start_date`.

The script is composed of the following steps:
1. Get the contracts correct dates by reading a CSV file.
2. Fetch the contract records from ows-abacus-contract.
3. Write the contract current dates to a CSV file suffixed with `.rollback` in order to run a potential rollback.
4. Update the contracts with the correct dates.

## Running the script

1. Copy the `.env.shadow` template to a `.env` file and fill in the values
2. Install the dependencies: `make env`
3. Run the script: `make run`
