Bug fixing: using raise instead of sys.exit