Updates the scan harness code so that it runs correctly.