Adding function to generate a Multipass URL