Inserting cmdline functionality