Got rid of sys.exit(1) at end