Added plaintext/html option