Link creating and output helper