modify echo script