Permalink

Adds new permalink stuff
Is this used?