add command line params processing