Added System.exit(0) to stop stuff