change the print of DEMO and add exit command