Added a script to help locate errors