Added --auto-exit command.