Update of sys.exit() call