pick the input from command line args for main