Converted to makePermalink