add smarty files