finishes command line app!