smarty setup