Script for resetting and populating the database