Set up program to run via command line