Make share links

Also rename some of the magic functiosn