Added more debug code to display retrieved urls from api