use command line opts to pass in configuration