Permalink

Adds new permalink stuff