changed mail script