read parameters from comandline