Add variables/comments for portalUrl and token (not complete)