implemented a crude way to actually push new scans to the db