added permalink generator