Print the generated script tag with the full URL