minor changes to cmd