Added sys exit