Replaced echo commands with less costly commands