fixed parsing of command lines also for deploy command