take options from command line