-#!/usr/bin/env python
-#----------------------------------------------------------------------
-# 11/5/2003 - Jeff Grimmett (grimmtooth@softhome.net)
-#
-# o Modified for wx namespace
-#
 
 """
 This is a way to save the startup time when running img2py on lots of
     ]
 
 
-for line in command_lines:
-    args = line.split()
-    img2py.main(args)
+if __name__ == "__main__":
+    for line in command_lines:
+        args = line.split()
+        img2py.main(args)