Try fix e-mailing
Fix escaping characters in os.system() calls