Bug fixes
New mailout script