extend command line handling