Added code for debugging . Limited the max muber of urls .