Move cmdline arg vars to global scope