modify send mail shell script