added permalink option