Updated index.php content
Updates to deploy script, mail extension, yii config.