get paramters from cli