get parameters from the command line