Fixed tts.php to reflect database change