Added alutExit() calls