Made new complex link as standalone function

Instead of a new parameter in getPrivateLink