Fix: bad format of email content
Fix: Several fixes into scripts