added ability to specify loaded program via command line arguments