add smarty driver