Added extra logging to see URL being used.