added url escape ( require RCurl)