cmdline arg check added