separate out command line program