Changed sys.exit() codes