Replaced find_defects.py with the version from Amy 2014-Oct-01