Rewrite newkey command to allow console use
Rewrite newnametag command to allow console use