More work on the "new" command refactorization