Fixed the script - the big problems took WAY too long for complete exhaustive searches.