adding some logging/output to show which urls are sent to where