auto expand root echo commands