added a function that check the url for http://
added function that replace commas with / but need to fix it