Now ignoring DS_Store files, main main function returns the url if its ok