More cmdline interfacing work