Added the run command line option  and KeyboardInterrupt exception