Util for getting parameters from command line