Permalink

Adds new permalink stuff
seems like this file is not checked in.