Changes to job to pull data from db.