Added editor option for add command