read in values to convert from command line