adds permalink features