Turning into command line program