final version of script that is running on db-dev-3. Any changes are going to be refactorings to make code easier to read. Any functional changes are going to force a reload of the data