Updated 500 mail script