The import of the scanner can also fail, cater for that.
diff --git a/Mac/scripts/bgenall.py b/Mac/scripts/bgenall.py
index bb5ddcc..81200fc 100644
--- a/Mac/scripts/bgenall.py
+++ b/Mac/scripts/bgenall.py
@@ -6,7 +6,10 @@
 
 def bgenone(dirname, shortname):
 	os.chdir(dirname)
-	m = __import__(shortname+'scan')
+	try:
+		m = __import__(shortname+'scan')
+	except:
+		return 0
 	try:
 		m.main()
 	except: